/**
 * 
 */
package guice.trail.lessons.scopes;

import guice.trail.lessons.scopes.annos.ThreadLocalScoped;
import guice.trail.lessons.scopes.annos.UniqueInstanceScoped;

import com.google.inject.AbstractModule;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * 
 */
public class ScopesTrailModule extends AbstractModule {

	/**
	 * {@inheritDoc}
	 * 
	 * @see com.google.inject.AbstractModule#configure()
	 */
	protected void configure() {
		bindScope(ThreadLocalScoped.class, new ThreadLocalScope());
		bindScope(UniqueInstanceScoped.class, new UniqueInstanceScope());
		// bind(Human.class).in(new UniqueInstanceScope());
	}

}
